package Command;

/**
 * @Author zhangjinxi
 * @Date: Created in 13:39 2018/3/1
 * @Description:
 */
public class Test {

    public static void main(String[] args) {
        Receiver receiver = new Receiver();

        Command command = new MyCommand(receiver);

        Invoker invoker = new Invoker(command);
        invoker.action();
    }

}
